From: Adel Gadllah Date: Thu, 18 Mar 2010 18:39:09 +0000 (+0100) Subject: Fix workspaceSwitcherPopup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~10288 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6c13ca817df321ea15314cf021e142d109e7950c;p=gnome-shell.git Fix workspaceSwitcherPopup The check in WindowManager._showWorkspaceSwitcher is supposed to check if the overview is _not_ visible. Fix that. --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index eb3db1b9d..ad8b21ed4 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -315,7 +315,7 @@ WindowManager.prototype = { if (global.screen.n_workspaces == 1) return; - if (this._workspaceSwitcherPopup == null && Main.overview.visible) + if (this._workspaceSwitcherPopup == null && !Main.overview.visible) this._workspaceSwitcherPopup = new WorkspaceSwitcherPopup.WorkspaceSwitcherPopup(); if (binding == "switch_to_workspace_left") {